package xpoi.yangda.xin.model;

import org.apache.poi.ss.usermodel.CellStyle;

import java.io.Serializable;

/**
 * 模板数据源字段位置信息实体
 *
 * @author izifeng
 * @version 创建时间 2018/8/30 11:39
 * @site https://gitee.com/izifeng/XPOI.git
 */
public class DataSourceField implements Serializable {
    private static final long serialVersionUID = 1L;

    private int rowIdx;

    private int colIdx;

    private CellStyle cellStyle;

    public DataSourceField() {
        // Don't do anything
    }

    public DataSourceField(int rowIdx, int colIdx, CellStyle cellStyle) {
        this.rowIdx = rowIdx;
        this.colIdx = colIdx;
        this.cellStyle = cellStyle;
    }

    public int getRowIdx() {
        return rowIdx;
    }

    public void setRowIdx(int rowIdx) {
        this.rowIdx = rowIdx;
    }

    public int getColIdx() {
        return colIdx;
    }

    public void setColIdx(int colIdx) {
        this.colIdx = colIdx;
    }

    public CellStyle getCellStyle() {
        return cellStyle;
    }

    public void setCellStyle(CellStyle cellStyle) {
        this.cellStyle = cellStyle;
    }

}
